package com.lrr.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Accountant {
    private Integer id;
    private String name;
    private String gender;
    private String city;
    private String unit;
    private Integer aid;
    private String serialNum;
    private String registerNum;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dates;

    private AccountantType accountantType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(String serialNum) {
        this.serialNum = serialNum;
    }

    public String getRegisterNum() {
        return registerNum;
    }

    public void setRegisterNum(String registerNum) {
        this.registerNum = registerNum;
    }

    public Date getDates() {
        return dates;
    }

    public void setDates(Date dates) {
        this.dates = dates;
    }

    public AccountantType getAccountantType() {
        return accountantType;
    }

    public void setAccountantType(AccountantType accountantType) {
        this.accountantType = accountantType;
    }
}
